package com.wen.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.wen.common.R;
import com.wen.mapper.SupplierProductMapper;

import com.wen.pojo.SupplierProduct;
import com.wen.pojo.dto.SupplierProductDto;
import com.wen.service.SupplierProductService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import java.util.List;

@Service
public class SupplierProductServiceImpl extends ServiceImpl<SupplierProductMapper, SupplierProduct> implements SupplierProductService {

   @Autowired
   private SupplierProductMapper supplierProductMapper;
    @Override
    public  List<SupplierProductDto> SupplierProductAll(Long id) {
        List<SupplierProductDto> supplierProducts = supplierProductMapper.SupplierProductAll(id);

        return supplierProducts;
    }
}
